package com.hs.teachsystem.controller;

import com.hs.teachsystem.RoleCallService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.Map;

/**点名模块控制器
 * Created by MaiBenBen on 2017/7/14.
 */
@Controller
@RequestMapping("roleCall")
public class RoleCallController extends MyController{
    @Autowired
    private RoleCallService roleCallService;
    /**
     * 教师发起点名
     * @return
     */
    @RequestMapping("/startRoleCall")
    public Object startRoleCall(){
        Map<String,Object> result=null;
        return result;
    }

    /**
     * 学生开始点名
     * @return
     */
    @RequestMapping("/roleCall")
    public Object roleCall(){
        Map<String,Object> result=null;
        return result;
    }

    /**
     * 教师帮学生点名
     * @return
     */
    @RequestMapping("/roleCallByTeac")
    public Object roleCallByTeac(){
        Map<String,Object> result=null;
        return result;
    }

    /**
     * 查询点名
     * @return
     */
    @RequestMapping("/queryRoleCall")
    public ModelAndView queryRoleCall(){
        return new ModelAndView();
    }

    /**
     * 查询点名情况，看看有多少少人没到
     * @return
     */
    @RequestMapping("/queryRoleCallNumber")
    public Object queryRoleCallNumber(){
        Map<String,Object> result=null;
        return result;
    }
}
